/**
 * @file 所有币种的配置信息
 * @author jinguangguo
 * @date 2017/9/26
 */

let coinConfig = {

    /**
     * 1. 单价购买以及对应的价格显示均使用同一个小数位数
     * 2. 数量均使用4位有效小数
     * 3. 转出的手续费
     * 4. 最大购买数量
     * 5. 最小购买数量
     * 6. 最大购买价格
     * 7. 最小购买价格
     */

    /**
     * 所有的交易对
     * 注意：这里是有序排序
     */
    symbols: {



        // ======================================================================================  BTC易区  (原新交易  原主交易  合并为此)
        // 原新交易区(包含USC  BTC交易区)
        // BTC_TV: {
        //     symbol: 'BTC_TIC',  // 传后台标识
        //     label: 'TV/BTC',    // 第一列标识
        //     coin: 'TV',         // 当前购买币种
        //     unit: 'BTC',        //  衡量币用
        //     page: './market.html?s=TV_BTC',
        //     precision: 8,       // 价格 BTC小数位
        //     highlightNo: 5,     //  高亮
        //     online:true,
        //     amountPrecision: 4, // 数量 小数位数
        //     symbols_main: true
        // },
        BTC_BTM: {
            symbol: 'BTC_BTM',
            label: 'BTM/BTC',
            coin: 'BTM',
            unit: 'BTC',
            page: './market.html?s=BTM_BTC',
            precision: 8,
            online:true,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_main: true
        },
        // BTC_IPT: {
        //     symbol: 'BTC_IPT',
        //     label: 'IPT/BTC',
        // coin: 'IPT',
        //     unit: 'BTC',
        //     page: './market.html?s=IPT_BTC',
        //     precision: 6,
        //     highlightNo: 2,
        //     amountPrecision: 4,
        //     symbols_new: true
        // },
        BTC_YOYOW: {
            symbol: 'BTC_YOYOW',
            label: 'YOYOW/BTC',
            coin: 'YOYOW',
            unit: 'BTC',
            page: './market.html?s=YOYOW_BTC',
            precision: 8,
            highlightNo: 5,
            online:true,
            amountPrecision: 4,
            symbols_main: true
        },
        BTC_TRX: {
            symbol: 'BTC_TRX',
            label: 'TRX/BTC',
            coin: 'TRX',
            unit: 'BTC',
            page: './market.html?s=TRX_BTC',
            precision: 8,
            online:true,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_main: true
        },


        // 原主交易区（后改为btc交易）
        BTC_ETH: {
            symbol: 'BTC_ETH',
            label: 'ETH/BTC',
            coin: 'ETH',
            unit: 'BTC',
            page: './market.html?s=ETH_BTC',
            // 小数精度
            precision: 8,
            // 高亮精度
            highlightNo: 5,
            online:true,
            //数量精度
            amountPrecision: 4,
            symbols_main: true

        },

        BTC_LTC: {
            symbol: 'BTC_LTC',
            label: 'LTC/BTC',
            coin: 'LTC',
            unit: 'BTC',
            page: './market.html?s=LTC_BTC',
            precision: 8,
            highlightNo: 5,
            online:true,
            amountPrecision: 4,
            symbols_main: true
        },

        BTC_ACT: {
            symbol: 'BTC_ACT',
            label: 'ACT/BTC',
            coin: 'ACT',
            unit: 'BTC',
            page: './market.html?s=ACT_BTC',
            precision: 8,
            highlightNo: 5,
            online:true,
            amountPrecision: 4,
            symbols_main: true
        },

        BTC_SMC: {
            symbol: 'BTC_SMC',
            label: 'SMC/BTC',
            coin: 'SMC',
            unit: 'BTC',
            page: './market.html?s=SMC_BTC',
            precision: 8,
            highlightNo: 5,
            online:true,
            amountPrecision: 4,
            symbols_main: true
        },

        BTC_LET: {
            symbol: 'BTC_LET',
            label: 'LET/BTC',
            coin: 'LET',
            unit: 'BTC',
            page: './market.html?s=LET_BTC',
            precision: 8,
            highlightNo: 5,
            online:true,
            amountPrecision: 4,
            symbols_main: true
        },

        BTC_CBTC:{
            symbol: 'BTC_CBTC',
            label: 'CBTC/BTC',
            coin: 'CBTC',
            unit: 'BTC',
            page: './market.html?s=CBTC_BTC',
            precision: 8,
            highlightNo: 5,
            online:true,
            amountPrecision: 4,
            symbols_main: true
        },

        BTC_AAC:{
            symbol: 'BTC_AAC',
            label: 'AAC/BTC',
            coin: 'AAC',
            unit: 'BTC',
            page: './market.html?s=AAC_BTC',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_main:true,
            online:true
        },

        BTC_HMC:{
            symbol: 'BTC_HMC',
            label: 'HMC/BTC',
            coin: 'HMC',
            unit: 'BTC',
            page: './market.html?s=HMC_BTC',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_main:true,
            online:true
        },


        // ====================================================================================== USC交易区

        USDT_SMCF1:{
            symbol: 'USDT_SMCF1',
            label: 'SMCF1/USDT',
            coin: 'SMCF1',
            unit: 'USDT',
            page: './market.html?s=SMCF1_USDT',
            precision: 2,
            highlightNo: 1,
            amountPrecision: 0,
            online:true,
            symbols_usdt:true,
            // intro:true
        },

        USC_BTC: {
            symbol: 'USC_BTC',
            label: 'BTC/USC',
            coin: 'BTC',
            unit: 'USC',
            page: './market.html?s=BTC_USC',
            precision: 2,
            highlightNo: 5,
            //数量精度
            online:true,
            amountPrecision: 8,
            symbols_usc: true,
        },

        USC_ACT:{
            symbol: 'USC_ACT',
            label: 'ACT/USC',
            coin: 'ACT',
            unit: 'USC',
            page: './market.html?s=ACT_USC',
            precision: 2,
            online:true,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_usc: true,
        },

        // ====================================================================================== USDT交易区
        USDT_BTC:{
            symbol: 'USDT_BTC',
            label: 'BTC/USDT',
            coin: 'BTC',
            unit: 'USDT',
            page: './market.html?s=BTC_USDT',
            precision: 2,
            highlightNo: 2,
            //数量精度
            online:true,
            amountPrecision: 8,
            symbols_usdt: true,
        },
        USDT_USC:{
            symbol: 'USDT_USC',
            label: 'USC/USDT',
            coin: 'USC',
            unit: 'USDT',
            page: './market.html?s=USC_USDT',
            precision: 2,
            highlightNo: 2,
            //数量精度
            online:true,
            amountPrecision: 4,
            symbols_usdt: true,
        },


        // ====================================================================================== ETH交易区

        ETH_HMC:{
            symbol: 'ETH_HMC',
            label: 'HMC/ETH',
            coin: 'HMC',
            unit: 'ETH',
            page: './market.html?s=HMC_ETH',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_eth:true,
            online:true
        },

        // ETH_AAC:{
        //     symbol: 'ETH_AAC',
        //     label: 'AAC/ETH',
        //     coin: 'AAC',
        //     unit: 'ETH',
        //     page: './market.html?s=AAC_ETH',
        //     precision: 8,
        //     highlightNo: 5,
        //     amountPrecision: 4,
        //     symbols_eth:true,
        //     online:true
        // },






        // ====================================================================================== ACT交易区


        // ACT_AAC:{
        //     symbol: 'ACT_AAC',
        //     label: 'AAC/ACT',
        //     coin: 'AAC',
        //     unit: 'ACT',
        //     page: './market.html?s=AAC_ACT',
        //     precision: 8,
        //     highlightNo: 5,
        //     amountPrecision: 4,
        //     symbols_act:true,
        //     intro:true,
        //     online:true
        // },


        // ======================================================================================  btc分叉币交易区
        BTC_ABTC:{
            symbol: 'BTC_ABTC',
            label: 'ABTC/BTC',
            coin: 'ABTC',
            unit: 'BTC',
            page: './market.html?s=ABTC_BTC',
            precision: 8,
            highlightNo: 5,
            //数量精度
            amountPrecision: 4,
            online:true,
            // symbols_btcfork: true
            symbols_main: true
        },
        BTC_BCK:{
            symbol: 'BTC_BCK',
            label: 'BCK/BTC',
            coin: 'BCK',
            unit: 'BTC',
            page: './market.html?s=BCK_BTC',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            online: true,
            // symbols_btcfork: true
            symbols_main: true
        },
        BTC_BTF:{
            symbol: 'BTC_BTF',
            label: 'BTF/BTC',
            coin: 'BTF',
            unit: 'BTC',
            page: './market.html?s=BTF_BTC',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            online:true,
            // symbols_btcfork: true,
            symbols_main: true
        },
        BTC_BTP:{
            symbol: 'BTC_BTP',
            label: 'BTP/BTC',
            coin: 'BTP',
            unit: 'BTC',
            page: '',
            // page: './market.html?s=BTP_BTC',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            // online:true,
            symbols_btcfork: true
        },
        BTC_BCH:{
            symbol: 'BTC_BCH',
            label: 'BCH/BTC',
            coin: 'BCH',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        BTC_BCHC:{
            symbol: 'BTC_BCHC',
            label: 'BCHC/BTC',
            coin: 'BCHC',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        BTC_BTG:{
            symbol: 'BTC_BTG',
            label: 'BTG/BTC',
            coin: 'BTG',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        BTC_BTD:{
            symbol: 'BTC_BTD',
            label: 'BTD/BTC',
            coin: 'BTD',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        BTC_BCD:{
            symbol: 'BTC_BCD',
            label: 'BCD/BTC',
            coin: 'BCD',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        BTC_SBTC:{
            symbol: 'BTC_SBTC',
            label: 'SBTC/BTC',
            coin: 'SBTC',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },

        BTC_BCX:{
            symbol: 'BTC_BCX',
            label: 'BCX/BTC',
            coin: 'BCX',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        BTC_BTA:{
            symbol: 'BTC_BTA',
            label: 'BTA/BTC',
            coin: 'BTA',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        BTC_GOD:{
            symbol: 'BTC_GOD',
            label: 'GOD/BTC',
            coin: 'GOD',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        BTC_LBTC:{
            symbol: 'BTC_LBTC',
            label: 'LBTC/BTC',
            coin: 'LBTC',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        /*
        BTC_BTCKING:{
            symbol: 'BTC_BTCKING',
            label: 'BTCKING/BTC',
            coin: 'BTCKING',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },*/
        BTC_BCP:{
            symbol: 'BTC_BCP',
            label: 'BCP/BTC',
            coin: 'BCP',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        BTC_BUM:{
            symbol: 'BTC_BUM',
            label: 'BUM/BTC',
            coin: 'BUM',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        // BTC_BitcoinX:{
        //     symbol: 'BTC_BitcoinX',
        //     label: 'BitcoinX/BTC',
        //     coin: 'BitcoinX',
        //     unit: 'BTC',
        //     page: '',
        //     precision: 8,
        //     highlightNo: 5,
        //     amountPrecision: 4,
        //     symbols_btcfork: true
        // },
        BTC_BitcoinSilver:{
            symbol: 'BTC_BitcoinSilver',
            label: 'BitcoinSilver/BTC',
            coin: 'BitcoinSilver',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },

        BTC_BTCS:{
            symbol: 'BTC_BTCS',
            label: 'BTCS/BTC',
            coin: 'BTCS',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        BTC_BTU:{
            symbol: 'BTC_BTU',
            label: 'BTU/BTC',
            coin: 'BTU',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },

        BTC_BTW:{
            symbol: 'BTC_BTW',
            label: 'BTW/BTC',
            coin: 'BTW',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        BTC_BPA:{
            symbol: 'BTC_BPA',
            label: 'BPA/BTC',
            coin: 'BPA',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        BTC_BCS:{
            symbol: 'BTC_BCS',
            label: 'BCS/BTC',
            coin: 'BCS',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        BTC_BTS:{
            symbol: 'BTC_BTS',
            label: 'BTS/BTC',
            coin: 'BTS',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        BTC_BTH:{
            symbol: 'BTC_BTH',
            label: 'BTH/BTC',
            coin: 'BTH',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },
        BTC_UBTC:{
            symbol: 'BTC_UBTC',
            label: 'UBTC/BTC',
            coin: 'UBTC',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },

        BTC_BIFI:{
            symbol: 'BTC_BIFI',
            label: 'BIFI/BTC',
            coin: 'BIFI',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_btcfork: true
        },

        // ====================================================================================== eth分叉币交易区
        BTC_ETF:{
            symbol: 'BTC_ETF',
            label: 'ETF/BTC',
            coin: 'ETF',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_ethfork: true
        },

        BTC_EMO:{
            symbol: 'BTC_EMO',
            label: 'EMO/BTC',
            coin: 'EMO',
            unit: 'BTC',
            page: './market.html?s=EMO_BTC',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            // symbols_ethfork: true,
            symbols_main: true,
            online:true
        },

        BTC_ETG:{
            symbol: 'BTC_ETG',
            label: 'ETG/BTC',
            coin: 'ETG',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_ethfork: true
        },

        ETH_EMO:{
            symbol: 'ETH_EMO',
            label: 'EMO/ETH',
            coin: 'EMO',
            unit: 'ETH',
            page: './market.html?s=EMO_ETH',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            // symbols_ethfork: true,
            symbols_eth:true,
            online:true
        },

        // ====================================================================================== LTC分叉币交易区
        BTC_SLTC:{
            symbol: 'BTC_SLTC',
            label: 'SLTC/BTC',
            coin: 'SLTC',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_ltcfork: true
        },
        BTC_LTS:{
            symbol: 'BTC_LTS',
            label: 'LTS/BTC',
            coin: 'LTS',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_ltcfork: true
        },

        BTC_LCH:{
            symbol: 'BTC_LCH',
            label: 'LCH/BTC',
            coin: 'LCH',
            unit: 'BTC',
            page: '',
            precision: 8,
            highlightNo: 5,
            amountPrecision: 4,
            symbols_ltcfork: true
        },


        // ====================================================================================== ICO 交易区
        // USC_VCA:{
        //     symbol: 'USC_VCA',
        //     label: 'VCA/USC',
        //     coin: 'VCA',
        //     unit: 'USC',
        //     page: './vca_usc.html',
        //     precision: 8,
        //     highlightNo: 5,
        //     amountPrecision: 4,
        //     online:true,
        //     symbols_ico:true,
        //     intro:true
        // },
        //
        // BTC_KCASH:{
        //     symbol: 'BTC_KCASH',
        //     label: 'KCASH/BTC',
        //     coin: 'KCASH',
        //     unit: 'BTC',
        //     page: './kcash_btc.html',
        //     precision: 8,
        //     highlightNo: 5,
        //     amountPrecision: 4,
        //     online:true,
        //     symbols_ico:true
        // },
        // ETH_KCASH:{
        //     symbol: 'ETH_KCASH',
        //     label: 'KCASH/ETH',
        //     coin: 'KCASH',
        //     unit: 'ETH',
        //     page: './kcash_eth.html',
        //     precision: 8,
        //     highlightNo: 5,
        //     amountPrecision: 4,
        //     online:true,
        //     symbols_ico:true
        // },
        // ACT_KCASH:{
        //     symbol: 'ACT_KCASH',
        //     label: 'KCASH/ACT',
        //     coin: 'KCASH',
        //     unit: 'ACT',
        //     page: './kcash_act.html',
        //     precision: 8,
        //     highlightNo: 5,
        //     amountPrecision: 4,
        //     online:true,
        //     symbols_ico:true,
        //     intro:true
        // }

    },








    // 主交易区（btc交易区）
    symbols_main: {

    },

    //eth交易区
    symbols_eth: {

    },

    //act交易区
    symbols_act: {

    },

    // ico交易区
    symbols_ico: {
    },

    // usc交易区
    symbols_usc: {
    },

    // usdt交易区
    symbols_usdt: {
    },

    // usd交易区, 即usc和usdt两个交易区之和
    symbols_usd: {
    },

    // btc分叉币交易区
    symbols_btcfork: {
    },

    // eth分叉币交易区
    symbols_ethfork: {
    },

    // // LTC分叉币交易区
    symbols_ltcfork: {
    },


    /**
     * 所有资产
     * 注意：这里是有序排序
     */
    assets: {
        BTC: {
            symbol: 'BTC',
            // 小数精度
            precision: 6,           // 废弃
            //数量精度
            amountPrecision: 4,     // 废弃
            withdrawPrecision: 8,   // 提现小数位数
            minCount: 0.0001,       // 废弃
            confirmNum: 6           // 网络确认数
        },
        ETH: {
            symbol: 'ETH',
            // 小数精度
            precision: 6,
            // 提现精度
            withdrawPrecision: 8,
            //数量精度
            amountPrecision: 4,
            confirmNum: 12
        },
        LTC: {
            symbol: 'LTC',
            // 小数精度
            precision: 6,
            // 提现精度
            withdrawPrecision: 8,
            //数量精度
            amountPrecision: 4,
            confirmNum: 6
        },
        ACT: {
            symbol: 'ACT',
            // 小数精度
            precision: 8,
            // 提现精度
            withdrawPrecision: 5,
            //数量精度
            amountPrecision: 4,
            minCount: 1,
            confirmNum: 30
        },
        LET: {
            symbol: 'LET',
            // 小数精度
            precision: 8,
            // 提现精度
            withdrawPrecision: 5,
            //数量精度
            amountPrecision: 4,
            confirmNum: 30
        },
        USC: {
            symbol: 'USC',
            precision: 4,
            //数量精度
            amountPrecision: 8,
            // 提现精度
            withdrawPrecision: 5,
            minCount: 1,
            confirmNum: 30
        },
        SMC: {
            symbol: 'SMC',
            // 小数精度
            precision: 8,
            // 提现精度
            withdrawPrecision: 5,
            //数量精度
            amountPrecision: 4,
            confirmNum: 30
        },
        // TV: {
        //     symbol: 'TIC',
        //     // 小数精度
        //     precision: 8,
        //     // 提现精度
        //     withdrawPrecision: 8,
        //     //数量精度
        //     amountPrecision: 4
        // },


        YOYOW: {
            symbol: 'YOYOW',
            precision: 4,
            //数量精度
            amountPrecision: 8,
            // 提现精度
            withdrawPrecision: 8,
            minCount: 1,
            confirmNum: 12
        },
        TRX: {
            symbol: 'TRX',
            precision: 4,
            //数量精度
            amountPrecision: 8,
            // 提现精度
            withdrawPrecision: 8,
            minCount: 1,
            confirmNum: 12
        },
        BTM: {
            symbol: 'BTM',
            precision: 4,
            //数量精度
            amountPrecision: 8,
            // 提现精度
            withdrawPrecision: 8,
            minCount: 1,
            confirmNum: 12
        },

        CBTC: {
            symbol: 'CBTC',
            precision: 4,
            //数量精度
            amountPrecision: 8,
            // 提现精度
            withdrawPrecision: 5,
            minCount: 1,
            confirmNum: 6
        },

        KCASH:{
            symbol: 'KCASH',
            // 小数精度
            precision: 8,
            // 提现精度
            withdrawPrecision: 5,
            //数量精度
            amountPrecision: 4,
            confirmNum: 30
        },


        AAC: {
            symbol: 'AAC',
            // 小数精度
            precision: 8,
            // 提现精度
            withdrawPrecision: 8,
            //数量精度
            amountPrecision: 4,
            confirmNum: 12
        },


        SSC:{
            symbol: 'SSC',
            // 小数精度
            precision: 8,
            // 提现精度
            withdrawPrecision: 5,
            //数量精度
            amountPrecision: 4,
            confirmNum: 30
        },

        USDT:{
            symbol: 'USDT',
            // 小数精度
            precision: 8,
            //数量精度
            amountPrecision: 8,
            // 提现精度
            withdrawPrecision: 4,
            confirmNum: 6
        },

        SMCF1:{
            symbol: 'SMCF1',
            // 小数精度
            precision: 0,
            //数量精度
            amountPrecision: 0,
            // 提现精度
            withdrawPrecision: 0,
            confirmNum: 30
        },

        VCA:{
            symbol: 'VCA',
            // 小数精度
            precision: 8,
            //数量精度
            amountPrecision: 8,
            // 提现精度
            withdrawPrecision: 5,
            confirmNum: 30
        },

        HMC:{
            symbol: 'HMC',
            // 小数精度
            precision: 8,
            //数量精度
            amountPrecision: 8,
            // 提现精度
            withdrawPrecision: 5,
            confirmNum: 30
        },

        EOS: {
            symbol: 'EOS',
            // 小数精度
            precision: 8,
            //数量精度
            amountPrecision: 8,
            // 提现精度
            withdrawPrecision: 8,

            confirmNum: 30
        },

        GTO: {
            symbol: 'GTO',
            // 小数精度
            precision: 8,
            //数量精度
            amountPrecision: 8,
            // 提现精度
            withdrawPrecision: 5,

            confirmNum: 30
        },

        WTC: {
            symbol: 'WTC',
            // 小数精度
            precision: 8,
            //数量精度
            amountPrecision: 8,
            // 提现精度
            withdrawPrecision: 8,

            confirmNum: 30
        },

        STORJ: {
            symbol: 'STORJ',
            // 小数精度
            precision: 8,
            //数量精度
            amountPrecision: 8,
            // 提现精度
            withdrawPrecision: 8,

            confirmNum: 30
        },
        SALT: {
            symbol: 'SALT',
            // 小数精度
            precision: 8,
            //数量精度
            amountPrecision: 8,
            // 提现精度
            withdrawPrecision: 8,

            confirmNum: 30
        },
        APPC: {
            symbol: 'APPC',
            // 小数精度
            precision: 8,
            //数量精度
            amountPrecision: 8,
            // 提现精度
            withdrawPrecision: 8,

            confirmNum: 30
        },
        TOPC: {
            symbol: 'TOPC',
            // 小数精度
            precision: 8,
            //数量精度
            amountPrecision: 8,
            // 提现精度
            withdrawPrecision: 6,

            confirmNum: 30
        },
        // IPT: {
        //     symbol: 'IPT',
        //     precision: 4,
        //     //数量精度
        //     amountPrecision: 8,
        //     minCount: 1
        // }

        ABTC:{
            symbol: 'ABTC',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'',
            forkDate:'',
            officialWeb:''
        },

        BCD:{
            symbol: 'BCD',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'495866',
            forkDate:'2017-11-24',
            officialWeb:'http://btcd.io/'
        },

        SBTC:{
            symbol: 'SBTC',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'498888',
            forkDate:'2017-12-12',
            officialWeb:'http://supersmartbitcoin.com/'
        },

        BCX:{
            symbol: 'BCX',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'498888',
            forkDate:'2017-12-12',
            officialWeb:'http://www.bcx.org/'
        },

        LBTC:{
            symbol: 'LBTC',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'499999',
            forkDate:'2017-12-18',
            officialWeb:'http://lightningbitcoin.io/'
        },

        UBTC:{
            symbol: 'UBTC',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'498777',
            forkDate:'2017-12-11',
            officialWeb:'http://www.ub.com/'
        },


        BTH:{
            symbol: 'BTH',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'498848',
            forkDate:'2017-12-12',
            officialWeb:''
        },

        BTP:{
            symbol: 'BTP',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'499345',
            forkDate:'2017-12-15',
            officialWeb:'http://www.btceasypay.com/'
        },

        BTW:{
            symbol: 'BTW',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'499777',
            forkDate:'2017-12-17',
            officialWeb:'http://www.btw.one/'
        },

        BTCS:{
            symbol: 'BTCS',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'499999',
            forkDate:'2017-12-18',
            officialWeb:'http://www.btcscoin.com/'
        },


        BCK:{
            symbol: 'BCK',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'499999',
            forkDate:'2017-12-18',
            officialWeb:''
        },

        BTF:{
            symbol: 'BTF',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'500000',
            forkDate:'2017-12-18',
            officialWeb:'http://bitcoinfaith.org/'
        },


        EMO:{
            symbol: 'EMO',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'4730666',
            forkDate:'2017-12-14',
            officialWeb:''
        },

        ETF:{
            symbol: 'ETF',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'4730660',
            forkDate:'2017-12-14',
            officialWeb:''
        },

        LCH:{
            symbol: 'LCH',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'1338540',
            forkDate:'2017-12-25',
            officialWeb:''
        }
    },


    /**
     * btc分叉
     * */


    BTCForks: {
        ABTC:{
            symbol: 'ABTC',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'',
            forkDate:'',
            officialWeb:''
        },
        BCH:{
            symbol: 'BCH',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'478558',
            forkDate:'2017-08-01',
            officialWeb:'https://www.bitcoincash.org'
        },
        BCHC:{
            symbol: 'BCHC',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'',
            forkDate:'',
            officialWeb:''
        },
        BTG:{
            symbol: 'BTG',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'491407',
            forkDate:'2017-10-24',
            officialWeb:'https://bitcoingold.org'
        },
        BTD:{
            symbol: 'BTD',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'',
            forkDate:'',
            officialWeb:''
        },
        BCD:{
            symbol: 'BCD',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'495866',
            forkDate:'2017-11-24',
            officialWeb:'http://btcd.io/'
        },
        BTP:{
            symbol: 'BTP',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'499345',
            forkDate:'2017-12-15',
            officialWeb:'http://www.btceasypay.com/'
        },
        SBTC:{
            symbol: 'SBTC',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'498888',
            forkDate:'2017-12-12',
            officialWeb:'http://supersmartbitcoin.com/'
        },
        BCX:{
            symbol: 'BCX',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'498888',
            forkDate:'2017-12-12',
            officialWeb:'http://www.bcx.org/'
        },
        BTA:{
            symbol: 'BTA',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'498960',
            forkDate:'2017-12-12',
            officialWeb:'http://www.bitcoinall.org/'
        },
        LBTC:{
            symbol: 'LBTC',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'499999',
            forkDate:'2017-12-18',
            officialWeb:'http://lightningbitcoin.io/'
        },
        GOD:{
            symbol: 'GOD',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'501225',
            forkDate:'2017-12-25',
            officialWeb:'https://www.bitcoingod.org/'
        },



        BIFI:{
            symbol: 'BIFI',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'501225',
            forkDate:'2017-12-26',
            officialWeb:'https://www.bitcoinfile.org/'
        },
        /*
        BTCKING:{
            symbol: 'BTCKING',
            precision: 8,
            amountPrecision: 8
        },*/

        BUM:{
            symbol: 'BUM',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'',
            forkDate:'',
            officialWeb:''
        },
        // BitcoinX:{
        //     symbol: 'BitcoinX',
        //     precision: 8,
        //     amountPrecision: 8,
        //     forkHeight:'',
        //     forkDate:'',
        //     officialWeb:''
        // },
        BitcoinSilver:{
            symbol: 'BitcoinSilver',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'',
            forkDate:'',
            officialWeb:''
        },
        BTW:{
            symbol: 'BTW',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'499777',
            forkDate:'2017-12-17',
            officialWeb:'http://www.btw.one/'
        },
        UBTC:{
            symbol: 'UBTC',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'498777',
            forkDate:'2017-12-11',
            officialWeb:'http://www.ub.com/'
        },
        BTH:{
            symbol: 'BTH',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'498848',
            forkDate:'2017-12-12',
            officialWeb:''
        },
        BTCS:{
            symbol: 'BTCS',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'499999',
            forkDate:'2017-12-18',
            officialWeb:'http://www.btcscoin.com/'
        },
        BCK:{
            symbol: 'BCK',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'499999',
            forkDate:'2017-12-18',
            officialWeb:''
        },
        BTF:{
            symbol: 'BTF',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'500000',
            forkDate:'2017-12-18',
            officialWeb:'http://bitcoinfaith.org/'
        },

        BPA:{
            symbol: 'BPA',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'501888',
            forkDate:'2018-01-01',
            officialWeb:'http://www.p.top/'
        },

        BCP:{
            symbol: 'BCP',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'501407',
            forkDate:'2018-01-02',
            officialWeb:'http://www.bitcoincashplus.org/'
        },

        BCS:{
            symbol: 'BCS',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'505050',
            forkDate:'2018-01-20',
            officialWeb:'http://bcs.info/'
        },

        BTS:{
            symbol: 'BTS',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'',
            forkDate:'',
            officialWeb:'https://bitcointalk.org/index.php?topic=2311582'
        },

        BTU:{
            symbol: 'BTU',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'',
            forkDate:'2017-12-31',
            officialWeb:''
        },

        QBTC:{
            symbol: 'QBTC',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'',
            forkDate:'2017-12-28',
            officialWeb:'http://www.quantumbitcoin.top/'
        },

        BCO:{
            symbol: 'BCO',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'501949',
            forkDate:'2017-12-31',
            officialWeb:''
        }



    },

    /**
     * ETH分叉
     * */

    ETHForks: {
        ETF:{
            symbol: 'ETF',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'4730660',
            forkDate:'2017-12-14',
            officialWeb:''
        },
        EMO:{
            symbol: 'EMO',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'4730666',
            forkDate:'2017-12-14',
            officialWeb:''
        },
        ETG:{
            symbol: 'ETG',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'',
            forkDate:'',
            officialWeb:''
        }
    },
    LTCForks: {
        SLTC:{
            symbol: 'SLTC',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'1343999',
            forkDate:'2018-01-05',
            officialWeb:''
        },
        LTS:{
            symbol: 'LTS',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'1359668',
            forkDate:'2018-01-15',
            officialWeb:''
        },
        LCH:{
            symbol: 'LCH',
            precision: 8,
            amountPrecision: 8,
            withdrawPrecision: 8,
            forkHeight:'1338540',
            forkDate:'2017-12-25',
            officialWeb:''
        },
    },

    /**
     * c2c
     * */
    c2cAssets:{
        BTC:{
            amountPrecision:8
        },
        ACT:{
            amountPrecision:4
        },
        USC:{
            amountPrecision:4
        }
    }
};

Object.keys(coinConfig.symbols).map((item)=>{
    // symbols_main 是否为btc交易区 (原新交易区和原主交易区合并)
    if(coinConfig.symbols[item].symbols_main){
        coinConfig.symbols_main[item] = coinConfig.symbols[item]
    }else if(coinConfig.symbols[item].symbols_usc){
        coinConfig.symbols_usc[item] = coinConfig.symbols[item];
        coinConfig.symbols_usd[item] = coinConfig.symbols[item];
    }else if(coinConfig.symbols[item].symbols_usdt){
        coinConfig.symbols_usdt[item] = coinConfig.symbols[item];
        coinConfig.symbols_usd[item] = coinConfig.symbols[item];
    }else if(coinConfig.symbols[item].symbols_eth){
        coinConfig.symbols_eth[item] = coinConfig.symbols[item]
    }else if(coinConfig.symbols[item].symbols_act){
        coinConfig.symbols_act[item] = coinConfig.symbols[item]
    }else if(coinConfig.symbols[item].symbols_btcfork){
        coinConfig.symbols_btcfork[item] = coinConfig.symbols[item]
    }else if(coinConfig.symbols[item].symbols_ethfork){
        coinConfig.symbols_ethfork[item] = coinConfig.symbols[item]
    }else if(coinConfig.symbols[item].symbols_ltcfork){
        coinConfig.symbols_ltcfork[item] = coinConfig.symbols[item]
    }else if(coinConfig.symbols[item].symbols_ico){
        coinConfig.symbols_ico[item] = coinConfig.symbols[item]
    }
});




export default coinConfig;
